翻訳と辞書
Words near each other
・ Yobes Ondieki
・ Yobi
・ Yobi, the Five Tailed Fox
・ Yobibit
・ Yobibyte
・ Yobidashi
・ Yobie Bassoule
・ Yobikō
・ Yobito Station
・ Yobitsugi Station
・ Yobo
・ Yoboki
・ Yoboki National Park
・ Yobouakro
・ Yo-Yo Ma Plays the Music of John Williams
Yo-yo problem
・ Yo... el aventurero
・ YOA Orchestra of the Americas
・ Yoad Nevo
・ Yoake Mae
・ Yoake Mae yori Ruriiro na
・ Yoake no Machi de
・ Yoake no Mariko
・ Yoake Station
・ Yoakim Gruev
・ Yoakim Karchovski
・ Yoakum
・ Yoakum County, Texas
・ Yoakum High School
・ Yoakum Independent School District


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Yo-yo problem : ウィキペディア英語版
Yo-yo problem
In computer science, the yo-yo problem is an anti-pattern that occurs when a programmer has to read and understand a program whose inheritance graph is so long and complicated that the programmer has to keep flipping between many different class definitions in order to follow the control flow of the program. It often happens in object-oriented programming. The term comes from comparing the bouncing attention of the programmer to the up-down movement of a toy yo-yo. Taenzer, Ganti, and Podar described the problem by name, explaining: "Often we get the feeling of riding a yoyo when we try to understand one these message trees."
Most practices of object-oriented programming recommend keeping the inheritance graph as shallow as possible, in part to avoid this problem. The use of composition instead of inheritance is also strongly preferred, although this still requires that a programmer keep multiple class definitions in mind at once.
More generally, the yo-yo problem can also refer to any situation where a person must keep flipping between different sources of information in order to understand a concept.
Object-oriented design techniques such as documenting layers of the inheritance hierarchy can reduce the effect of this problem, as they collect in one place the information that the programmer is required to understand.
==References==


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Yo-yo problem」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.